Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Spotless] Applying Google Code Format for protocol files #14 #1971

Merged

Conversation

MitchellGale
Copy link
Contributor

Description

Applies spotless for protocol directory in project. Sets checkstyle to not fail on failure for protocol directory.

Issues Resolved

#1101

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Mitchell Gale <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>
@codecov
Copy link

codecov bot commented Aug 16, 2023

Codecov Report

Merging #1971 (8acc03a) into main (0dfbc89) will decrease coverage by 0.01%.
Report is 1 commits behind head on main.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##               main    #1971      +/-   ##
============================================
- Coverage     97.52%   97.52%   -0.01%     
+ Complexity     4657     4655       -2     
============================================
  Files           408      408              
  Lines         11952    11944       -8     
  Branches        829      829              
============================================
- Hits          11656    11648       -8     
  Misses          289      289              
  Partials          7        7              
Flag Coverage Δ
sql-engine 97.52% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
...ocol/response/format/CommandResponseFormatter.java 100.00% <ø> (ø)
...protocol/response/format/CsvResponseFormatter.java 100.00% <ø> (ø)
...pensearch/sql/protocol/response/format/Format.java 100.00% <ø> (ø)
...protocol/response/format/RawResponseFormatter.java 100.00% <ø> (ø)
.../opensearch/sql/protocol/response/QueryResult.java 100.00% <100.00%> (ø)
...h/sql/protocol/response/format/ErrorFormatter.java 100.00% <100.00%> (ø)
...rotocol/response/format/FlatResponseFormatter.java 100.00% <100.00%> (ø)
...rotocol/response/format/JdbcResponseFormatter.java 100.00% <100.00%> (ø)
...rotocol/response/format/JsonResponseFormatter.java 100.00% <100.00%> (ø)
...l/response/format/SimpleJsonResponseFormatter.java 100.00% <100.00%> (ø)
... and 1 more

…rmat/RawResponseFormatter.java

Co-authored-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>
Yury-Fridlyand
Yury-Fridlyand previously approved these changes Aug 16, 2023
Yury-Fridlyand
Yury-Fridlyand previously approved these changes Aug 16, 2023
pjfitzgibbons
pjfitzgibbons previously approved these changes Aug 16, 2023
Yury-Fridlyand
Yury-Fridlyand previously approved these changes Aug 17, 2023
Co-authored-by: Guian Gumpac <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>
@Yury-Fridlyand Yury-Fridlyand merged commit 1744d8a into opensearch-project:main Aug 17, 2023
15 checks passed
@Yury-Fridlyand Yury-Fridlyand deleted the dev/sl_GoogleJavaFormat14 branch August 17, 2023 18:44
MitchellGale added a commit to Bit-Quill/opensearch-project-sql that referenced this pull request Aug 22, 2023
…arch-project#1971)

* Spotless apply on protocol

Signed-off-by: Mitchell Gale <[email protected]>

* added ignorefailures

Signed-off-by: Mitchell Gale <[email protected]>

* Update protocol/src/main/java/org/opensearch/sql/protocol/response/format/RawResponseFormatter.java

Co-authored-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>

* Apply suggestions from code review

Co-authored-by: Guian Gumpac <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>

---------

Signed-off-by: Mitchell Gale <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>
Co-authored-by: Yury-Fridlyand <[email protected]>
Co-authored-by: Guian Gumpac <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants